<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
    

    

    



    <meta charset="utf-8">
    
    
    
    
    <title>gitee-page-搭建个人博客 | lafen | lafen&#39;s personal blog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="blog">
    <meta name="description" content="写在前一直使用的是有道云笔记来做一些学习记录，期间也使用csdn、简书、博客园等网站来记录一些笔记，但是总感觉缺少点什么，于是便想自己弄一个博客来试试看，便花了点时间来找搭建个人博客的教程，本想在github搭建起自己的个人主页来的，但是无奈访问不是很顺畅，便退而求其次，选择国内的码云page来搭建自己的个人主页。过程比较简单，以下便是搭建步骤： 1. 码云page简单介绍：简单好用，免费的静态网">
<meta name="keywords" content="blog">
<meta property="og:type" content="article">
<meta property="og:title" content="gitee-page-搭建个人博客">
<meta property="og:url" content="https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/index.html">
<meta property="og:site_name" content="lafen">
<meta property="og:description" content="写在前一直使用的是有道云笔记来做一些学习记录，期间也使用csdn、简书、博客园等网站来记录一些笔记，但是总感觉缺少点什么，于是便想自己弄一个博客来试试看，便花了点时间来找搭建个人博客的教程，本想在github搭建起自己的个人主页来的，但是无奈访问不是很顺畅，便退而求其次，选择国内的码云page来搭建自己的个人主页。过程比较简单，以下便是搭建步骤： 1. 码云page简单介绍：简单好用，免费的静态网">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="https://i.loli.net/2019/10/15/XgBhxKw9DbpdL1i.png">
<meta property="og:image" content="https://i.loli.net/2019/10/15/tTOD63nNAGjyamF.png">
<meta property="og:image" content="https://i.loli.net/2019/10/15/WC68sEN7bFxMGg1.png">
<meta property="og:image" content="https://i.loli.net/2019/10/15/IADRjaylmG7xPps.png">
<meta property="og:updated_time" content="2019-10-15T10:08:02.767Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="gitee-page-搭建个人博客">
<meta name="twitter:description" content="写在前一直使用的是有道云笔记来做一些学习记录，期间也使用csdn、简书、博客园等网站来记录一些笔记，但是总感觉缺少点什么，于是便想自己弄一个博客来试试看，便花了点时间来找搭建个人博客的教程，本想在github搭建起自己的个人主页来的，但是无奈访问不是很顺畅，便退而求其次，选择国内的码云page来搭建自己的个人主页。过程比较简单，以下便是搭建步骤： 1. 码云page简单介绍：简单好用，免费的静态网">
<meta name="twitter:image" content="https://i.loli.net/2019/10/15/XgBhxKw9DbpdL1i.png">
    
        <link rel="alternate" type="application/atom+xml" title="lafen" href="/atom.xml">
    
    <link rel="shortcut icon" href="/img/favicon.ico">
    <link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@latest/css/style.css">
    <script>window.lazyScripts=[]</script>

    <!-- custom head -->
    

</head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu" class="hide">
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="/img/avatar.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">lafen</h5>
          <a href="mailto:1031822863@qq.com" title="1031822863@qq.com" class="mail">1031822863@qq.com</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect">
              <a href="/">
                <i class="icon icon-lg icon-home"></i>
                home
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/archives">
                <i class="icon icon-lg icon-archives"></i>
                Archives
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/tags">
                <i class="icon icon-lg icon-tags"></i>
                Tags
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/categories">
                <i class="icon icon-lg icon-th-list"></i>
                Categories
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://github.com/zhongxiaotian" target="_blank">
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="http://www.weibo.com/" target="_blank">
                <i class="icon icon-lg icon-weibo"></i>
                Weibo
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://gitee.com/lafen" target="_blank">
                <i class="icon icon-lg icon-link"></i>
                Gitee
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">gitee-page-搭建个人博客</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header post-header">

    <div class="container fade-scale">
        <h1 class="title">gitee-page-搭建个人博客</h1>
        <h5 class="subtitle">
            
                <time datetime="2019-01-20T05:18:54.000Z" itemprop="datePublished" class="page-time">
  2019-01-20
</time>


	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/blog/">blog</a></li></ul>

            
        </h5>
    </div>

    


</header>


<div class="container body-wrap">
    
    <aside class="post-widget">
        <nav class="post-toc-wrap post-toc-shrink" id="post-toc">
            <h4>TOC</h4>
            <ol class="post-toc"><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#写在前"><span class="post-toc-number">1.</span> <span class="post-toc-text">写在前</span></a></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#1-码云page"><span class="post-toc-number">2.</span> <span class="post-toc-text">1. 码云page</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#新建仓库"><span class="post-toc-number">2.1.</span> <span class="post-toc-text">新建仓库</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#获得仓库地址"><span class="post-toc-number">2.2.</span> <span class="post-toc-text">获得仓库地址</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#开启page"><span class="post-toc-number">2.3.</span> <span class="post-toc-text">开启page</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#启动page"><span class="post-toc-number">2.4.</span> <span class="post-toc-text">启动page</span></a></li></ol></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#2-Hexo"><span class="post-toc-number">3.</span> <span class="post-toc-text">2. Hexo</span></a><ol class="post-toc-child"><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#什么是Hexo？"><span class="post-toc-number">3.1.</span> <span class="post-toc-text">什么是Hexo？</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#安装Hexo"><span class="post-toc-number">3.2.</span> <span class="post-toc-text">安装Hexo</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#新建Hexo项目"><span class="post-toc-number">3.3.</span> <span class="post-toc-text">新建Hexo项目</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#预览blog"><span class="post-toc-number">3.4.</span> <span class="post-toc-text">预览blog</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#生成静态文件"><span class="post-toc-number">3.5.</span> <span class="post-toc-text">生成静态文件</span></a></li><li class="post-toc-item post-toc-level-3"><a class="post-toc-link" href="#发布静态html"><span class="post-toc-number">3.6.</span> <span class="post-toc-text">发布静态html</span></a></li></ol></li><li class="post-toc-item post-toc-level-2"><a class="post-toc-link" href="#3-编写blog"><span class="post-toc-number">4.</span> <span class="post-toc-text">3. 编写blog</span></a></li></ol>
        </nav>
    </aside>


<article id="post-gitee-page-搭建个人博客/利用gitee-page搭建个人博客" class="post-article article-type-post fade" itemprop="blogPost">

    <div class="post-card">
        <h1 class="post-card-title">gitee-page-搭建个人博客</h1>
        <div class="post-meta">
            <time class="post-time" title="2019-01-20 13:18:54" datetime="2019-01-20T05:18:54.000Z" itemprop="datePublished">2019-01-20</time>

            
	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/blog/">blog</a></li></ul>



            
<span id="busuanzi_container_page_pv" title="文章总阅读量" style="display:none">
    <i class="icon icon-eye icon-pr"></i><span id="busuanzi_value_page_pv"></span>
</span>


        </div>
        <div class="post-content" id="post-content" itemprop="postContent">
            <h2 id="写在前"><a href="#写在前" class="headerlink" title="写在前"></a>写在前</h2><p>一直使用的是有道云笔记来做一些学习记录，期间也使用<code>csdn</code>、简书、博客园等网站来记录一些笔记，但是总感觉缺少点什么，于是便想自己弄一个博客来试试看，便花了点时间来找搭建个人博客的教程，本想在<code>github</code>搭建起自己的个人主页来的，但是无奈访问不是很顺畅，便退而求其次，选择国内的码云<code>page</code>来搭建自己的个人主页。过程比较简单，以下便是搭建步骤：</p>
<h2 id="1-码云page"><a href="#1-码云page" class="headerlink" title="1. 码云page"></a>1. 码云<a href="https://gitee.com/help/articles/4136" target="_blank" rel="noopener">page</a></h2><p><strong>简单介绍</strong>：简单好用，免费的静态网页托管网站，目前支持<code>Jekyll</code>、<code>Hugo</code>、<code>Hexo</code>编译静态资源，默认使用<code>Jekyll</code>编译。</p>
<p><strong>注册验证</strong>：在使用之前需要去注册一个码云账号，并绑定手机号，即可启用码云 <code>page</code>，注册过程与验证手机号过程略过啦。</p>
<p>注册完毕即可开启码云<code>page</code>，如果未验证手机号则先需验证手机号才能继续。</p>
<h3 id="新建仓库"><a href="#新建仓库" class="headerlink" title="新建仓库"></a>新建仓库</h3><p>新建一个仓库，想好你的仓库名，搭建完毕之后就是使用你的仓库名来进入个人主页的，例如</p>
<ul>
<li><p>仓库名: <code>laf</code></p>
</li>
<li><p>项目名字: <code>laf</code></p>
</li>
</ul>
<p>那你以后就可以通过<code>https://laf.gitee.io/</code>来访问你的个人主页。</p>
<p>为了后面省事情，想好你的个人主页名字。</p>
<figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://i.loli.net/2019/10/15/XgBhxKw9DbpdL1i.png" alt="1.创建一个仓库.png" title="">
                </div>
                <div class="image-caption">1.创建一个仓库.png</div>
            </figure>
<h3 id="获得仓库地址"><a href="#获得仓库地址" class="headerlink" title="获得仓库地址"></a>获得仓库地址</h3><p>这个仓库地址将作为我们的个人主页的仓库</p>
<figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://i.loli.net/2019/10/15/tTOD63nNAGjyamF.png" alt="2.得到仓库地址.png" title="">
                </div>
                <div class="image-caption">2.得到仓库地址.png</div>
            </figure>
<h3 id="开启page"><a href="#开启page" class="headerlink" title="开启page"></a>开启page</h3><p>点击<code>服务--&gt;Gitee Pages</code></p>
<figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://i.loli.net/2019/10/15/WC68sEN7bFxMGg1.png" alt="3.开启page.png" title="">
                </div>
                <div class="image-caption">3.开启page.png</div>
            </figure>
<h3 id="启动page"><a href="#启动page" class="headerlink" title="启动page"></a>启动page</h3><p>直接启动<code>page</code>即可，部署分支默认<code>master</code>，目录也使用默认的</p>
<figure class="image-bubble">
                <div class="img-lightbox">
                    <div class="overlay"></div>
                    <img src="https://i.loli.net/2019/10/15/IADRjaylmG7xPps.png" alt="4.启动page.png" title="">
                </div>
                <div class="image-caption">4.启动page.png</div>
            </figure>
<p>至此已经完成了一小步，成功的在码云上开启了我们的<code>page</code>，接下来开始在本地搭建我们的主页，然后将其部署到我们的仓库上即可。</p>
<h2 id="2-Hexo"><a href="#2-Hexo" class="headerlink" title="2. Hexo"></a>2. Hexo</h2><h3 id="什么是Hexo？"><a href="#什么是Hexo？" class="headerlink" title="什么是Hexo？"></a>什么是<a href="https://hexo.io/zh-cn/docs/" target="_blank" rel="noopener">Hexo</a>？</h3><p><code>Hexo</code>是一个基于<code>Node.js</code>的轻量级的博客框架，可以方便的将我们的<code>MarkDown</code>文件生成简洁的静态<code>html</code>网页，然后我们就可以将生成的<code>html</code>网页上传到我们的码云<code>page</code>中。</p>
<p>简单来讲：<code>Hexo</code>可以生成<code>html</code>，上传<code>html</code>到<code>page</code></p>
<h3 id="安装Hexo"><a href="#安装Hexo" class="headerlink" title="安装Hexo"></a>安装Hexo</h3><p><code>Hexo</code>的使用依赖于<code>Node</code>与<code>Git</code>，两者直接下载安装即可，安装过程注意<code>add to path</code>选项即可</p>
<ul>
<li><a href="http://nodejs.cn/download/" target="_blank" rel="noopener">Node.js</a></li>
<li><a href="https://www.git-scm.com/download/" target="_blank" rel="noopener">Git</a></li>
</ul>
<p><em><code>Node.js</code>自带<code>npm</code>包管理器，可以使用<code>npm</code>方便的帮助我们安装我们所需要的包，安装只需一句代码即可</em></p>
<p>任意<code>cmd</code>命令窗口中全局安装<code>Hexo</code>，注意<code>$</code>符号不要键入命令行中</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> npm install -g hexo-cli</span></span><br></pre></td></tr></table></figure>
<h3 id="新建Hexo项目"><a href="#新建Hexo项目" class="headerlink" title="新建Hexo项目"></a>新建<code>Hexo</code>项目</h3><p>在你想新建项目的文件夹下初始化项目文件夹，及安装依赖到该项目文件夹，例如：<code>laf</code></p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> hexo init laf</span></span><br><span class="line"><span class="meta">$</span><span class="bash"> <span class="built_in">cd</span> laf</span></span><br><span class="line"><span class="meta">$</span><span class="bash"> npm install</span></span><br></pre></td></tr></table></figure>
<p>新建完成后，<code>laf</code>文件夹的目录如下：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">.</span><br><span class="line">├── _config.yml</span><br><span class="line">├── package.json</span><br><span class="line">├── scaffolds</span><br><span class="line">├── source</span><br><span class="line">|   ├── _drafts</span><br><span class="line">|   └── _posts</span><br><span class="line">└── themes</span><br></pre></td></tr></table></figure>
<p>文件夹目录作用不做介绍，可去<a href="https://hexo.io/zh-cn/docs/setup#config-yml" target="_blank" rel="noopener">官网</a>看看具体作用。</p>
<p>直接看<code>source</code>文件夹下的<code>_posts</code>文件夹，这就是我们编写<code>MarkDown</code>的文件夹，打开默认已有一个<code>hello-world.md</code>文件。</p>
<h3 id="预览blog"><a href="#预览blog" class="headerlink" title="预览blog"></a>预览blog</h3><p>在<code>laf</code>目录执行命令</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> hexo server</span></span><br></pre></td></tr></table></figure>
<p>在浏览器下键入<code>http://localhost:4000</code>即可看到效果</p>
<h3 id="生成静态文件"><a href="#生成静态文件" class="headerlink" title="生成静态文件"></a>生成静态文件</h3><p>以上访问地址为本地，现将其生成静态<code>html</code>，后再将其发布到<code>page</code>，生成<code>html</code>命令如下：</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> hexo generate</span></span><br></pre></td></tr></table></figure>
<p>项目录的根目录下就会生成一个<code>public</code>文件夹，这就是我们要发布到<code>page</code>的文件夹，里面包含了我们的静态<code>html</code>。</p>
<h3 id="发布静态html"><a href="#发布静态html" class="headerlink" title="发布静态html"></a>发布静态<code>html</code></h3><p>发布<code>html</code>时我们需要使用到另一个插件，命令行安装</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> npm install hexo-deployer-git --save</span></span><br></pre></td></tr></table></figure>
<p>然后需要到<code>laf</code>项目的根目录下修改<code>_config.yml</code>的<code>deploy</code>的值</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"># Deployment</span><br><span class="line">## Docs: https://hexo.io/docs/deployment.html</span><br><span class="line">deploy:</span><br><span class="line">  type: git</span><br><span class="line">  repo: https://gitee.com/laf/laf.git</span><br><span class="line">  branch: master</span><br></pre></td></tr></table></figure>
<p>其中<code>repo</code>是你的码云项目的仓库地址，<code>branch</code>分支选择<code>master</code>。</p>
<p>然后执行一键部署命令</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> hexo deploy</span></span><br></pre></td></tr></table></figure>
<p>按提示输入码云账号密码即可，然后登陆你的码云仓库看看是否已上传成功，此时在浏览器输入你的博客地址即可看到你的个人页面</p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">https:<span class="comment">//laf.gitee.io/</span></span><br></pre></td></tr></table></figure>
<h2 id="3-编写blog"><a href="#3-编写blog" class="headerlink" title="3. 编写blog"></a>3. 编写blog</h2><p><code>hexo</code>推荐使用命令行新建一篇文章，执行命令</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> hexo new first</span></span><br></pre></td></tr></table></figure>
<p>然后将其编译成静态<code>html</code></p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> hexo generate</span></span><br></pre></td></tr></table></figure>
<p>嫌麻烦直接简写</p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> hexo g</span></span><br></pre></td></tr></table></figure>
<p>一键发布到<code>page</code></p>
<figure class="highlight shell"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">$</span><span class="bash"> hexo deploy</span></span><br></pre></td></tr></table></figure>
<p>登录码云，找到你的博客项目，点击 服务 –&gt; Gitee Pages –&gt; 更新 即可</p>

        </div>

        <blockquote class="post-copyright">
    
    <div class="content">
        
<span class="post-time">
    最后更新时间：<time datetime="2019-10-15T10:08:02.767Z" itemprop="dateUpdated">2019-10-15 18:08:02</time>
</span><br>


        
        关于学习类文章网上已经有非常多，而此处文章都是我在学习过程中整理摘录的笔记，参考文章可以点击文末的参考链接进行查阅
        
    </div>
    
    <footer>
        <a href="https://lafen.gitee.io">
            <img src="/img/avatar.jpg" alt="lafen">
            lafen
        </a>
    </footer>
</blockquote>

        
<div class="page-reward">
    <a id="rewardBtn" href="javascript:;" class="page-reward-btn waves-effect waves-circle waves-light">赏</a>
</div>



        <div class="post-footer">
            
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/blog/">blog</a></li></ul>


            
<div class="page-share-wrap">
    

<div class="page-share" id="pageShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/&title=《gitee-page-搭建个人博客》 — lafen&pic=https://lafen.gitee.io/img/avatar.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/&title=《gitee-page-搭建个人博客》 — lafen&source=lafen's personal blog" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《gitee-page-搭建个人博客》 — lafen&url=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/&via=https://lafen.gitee.io" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>



    <a href="javascript:;" id="shareFab" class="page-share-fab waves-effect waves-circle">
        <i class="icon icon-share-alt icon-lg"></i>
    </a>
</div>



        </div>
    </div>

    
<nav class="post-nav flex-row flex-justify-between">
  
    <div class="waves-block waves-effect prev">
      <a href="/2019/01/22/hexo-使用报错记录/hexo使用报错记录/" id="post-prev" class="post-nav-link">
        <div class="tips"><i class="icon icon-angle-left icon-lg icon-pr"></i> Prev</div>
        <h4 class="title">hexo使用报错记录</h4>
      </a>
    </div>
  

  
</nav>



    




















</article>

<div id="reward" class="page-modal reward-lay">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <h3 class="reward-title">
        <i class="icon icon-quote-left"></i>
        打笔巨款？~
        <i class="icon icon-quote-right"></i>
    </h3>
    <div class="reward-content">
        
        <div class="reward-code">
            <img id="rewardCode" src="/img/wechat.jpg" alt="打赏二维码">
        </div>
        
        <label class="reward-toggle">
            <input id="rewardToggle" type="checkbox" class="reward-toggle-check" data-wechat="/img/wechat.jpg" data-alipay="/img/alipay.jpg">
            <div class="reward-toggle-ctrol">
                <span class="reward-toggle-item wechat">微信</span>
                <span class="reward-toggle-label"></span>
                <span class="reward-toggle-item alipay">支付宝</span>
            </div>
        </label>
        
    </div>
</div>



</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style="display:none">
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style="display:none">
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            
                <span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
            
            <span>博客内容遵循 <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议</a></span>
        </p>
    </div>
    <div class="bottom">
        <p><span>lafen &copy; 2019 - 2020</span>
            <span>
                
                Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
            </span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/&title=《gitee-page-搭建个人博客》 — lafen&pic=https://lafen.gitee.io/img/avatar.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/&title=《gitee-page-搭建个人博客》 — lafen&source=lafen's personal blog" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=《gitee-page-搭建个人博客》 — lafen&url=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/&via=https://lafen.gitee.io" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=https://lafen.gitee.io/2019/01/20/gitee-page-搭建个人博客/利用gitee-page搭建个人博客/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: true };


</script>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/main.min.js"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/search.min.js" async></script>






<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>



<script>
(function() {
    var OriginTitile = document.title, titleTime;
    document.addEventListener('visibilitychange', function() {
        if (document.hidden) {
            document.title = '死鬼去哪里了！';
            clearTimeout(titleTime);
        } else {
            document.title = '(つェ⊂)咦!又好了!';
            titleTime = setTimeout(function() {
                document.title = OriginTitile;
            },2000);
        }
    });
})();
</script>



<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":{"scale":1,"jsonPath":"/live2dw/assets/shizuku.model.json"},"display":{"positon":"right","width":150,"height":300},"mobile":{"show":true,"scale":0.8},"react":{"opacity":0.8,"opacityDefault":0.8,"opacityOnHover":0.6},"log":false});</script></body>
</html>
